home *** CD-ROM | disk | FTP | other *** search
/ Champak 120 / Vol 120.iso / games / orbitrax.swf / scripts / DefineSprite_413 / frame_134 / DoAction.as
Encoding:
Text File  |  2010-11-09  |  293 b   |  10 lines

  1. if(!penalty)
  2. {
  3.    penalty = true;
  4.    animePts.box.pointField.text = main.pointOilBlock;
  5.    gameMain.ptsCounter += main.pointOilBlock;
  6.    gameMain.ptsCounter = gameMain.ptsCounter >= 0 ? gameMain.ptsCounter : 0;
  7.    gameMain.gotoAndStop("slide");
  8.    animePts._rotation = - _rotation;
  9. }
  10.